<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%@page import="com.crm.entity.Opportunity,com.crm.entity.Supplier,java.util.*" %>
<%@page import="java.util.List,com.crm.entity.Parts,com.crm.entity.Quotation,com.crm.beans.NewQuotVO" %>

<head>
<script language="JavaScript" src="<%=application.getContextPath()%>/js/gen_validatorv4.js"
    type="text/javascript" ></script>
<script  type="text/javascript" src="<%=application.getContextPath()%>/js/jquery-1.6.min.js"></script> 
<script type="text/javascript" src="<%=application.getContextPath()%>/js/jquery.validate.js"></script>	
<script type="text/javascript" src="<%=application.getContextPath()%>/js/jquery.validate.min.js"></script>	
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<link href="<%=application.getContextPath()%>/css/css-crm.css" rel="stylesheet" type="text/css" />
<script>

function open_new_window(url) {
	  window.open(url,"some_name","width=500,height=300,left=200,top=10");
	}

    function previewUrl(url,target){
        //use timeout coz mousehover fires several times
        clearTimeout(window.ht);
        window.ht = setTimeout(function(){
            var div = document.getElementById(target);
            div.innerHTML = '<iframe style="width:978px;height:500px;" frameborder="0" src="' + url + '" />';
        },20);      
    }   
</script>


    
    <%String PINo=(String)request.getAttribute("genPINo"); %>
</head>
<body onload="previewUrl('<%=application.getContextPath() %>/supplyOrder/get_history.do?quotid=<%=PINo%>','div1')">

<div id="main">
   <%@ include file="common/header.jsp" %>
  <%@ include file="common/submenu.jsp" %>
    <div id="resultMsg" align="center" class="result_msg" style=" background-color: white" >
    <% 
    	if(request.getAttribute("resmsg")!=null){
    		String msg=(String)request.getAttribute("resmsg");
    		out.println(msg.toString());	
    	}
    	
    %>
    </div> 
    <div id="div1"  class="quotdiv"> </div> 
  
 <div id="footer1"></div>  
</div>
</body>
<!-- InstanceEnd --></html>

